package cn.csg.iotplatform.module.system.controller.admin.userdept.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class UserDeptAuthRespVO {

    @Schema(description = "用户已授权部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1,2")
    private List<Long> authDeptIds;
    @Schema(description = "新增子部门是否自动授权", requiredMode = Schema.RequiredMode.REQUIRED, example = "false")
    private Integer autoAuth;
}
